﻿namespace Test30.Engine
{
    public static class IDropExtensions
    {
        public static T CreateOne<T>(this IDrop<T> drop, int level)
        {
            foreach (T item in drop.Create(level))
            {
                return item;
            }

            return default(T);
        }
    }
}
